package com.shop.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import com.shop.entities.Admin;

@FeignClient(value = "shop-provider-admin-8001")
public interface AdminLoginService {
	
	@PostMapping("/admin/login")
	public Admin login(String adminName,String adminPassword);

}
